const mobileRules = [
  { required: true, message: '请填手机号' },
  { pattern: /^1[3-9]\d{9}$/, message: '请输入合法的手机号' }
]
const passwordRules = [
  { required: true, message: '请输入密码' },
  { pattern: /^\S{8,24}$/, message: '请输入长度是8-24位的密码' }
]
const codeRules = [
  { required: true, message: '请输入验证码' },
  { pattern: /^\d{6}$/, message: '请输入6位的验证码' }
]

export { mobileRules, passwordRules, codeRules }
